﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Net;

namespace Kugar.Core.Communications.Transfer
{
    public class RUDPConnectConfig : TransferConnectConfig
    {
        public RUDPConnectConfig(int localPort, IPEndPoint remotePoint)
        {
            LocalPort = localPort;
            RemotePoint = remotePoint;
            BufferLength = 548;
        }

        public int LocalPort { set; get; }

        public IPEndPoint RemotePoint { set; get; }

        public int SendTimeouts { set; get; }

        public override TransferProtocolType Protocol
        {
            get {return TransferProtocolType.UDP_RUDP; }
        }
    }
}
